package com.sugar.queryinfo.module.business.controller.admin.userbalancerecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.sugar.queryinfo.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.sugar.queryinfo.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 余额变动记录分页 Request VO")
@Data
public class UserBalanceRecordPageReqVO extends PageParam {

    @Schema(description = "用户名称", example = "28522")
    private String userName;

    @Schema(description = "部门名称", example = "944")
    private String deptName;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "类型（0支出 1收入）", example = "1")
    private Boolean type;

    @Schema(description = "记录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] recordTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}